package api.storage;

import java.io.IOException;
import java.util.Collections;
import java.util.List;

import api.Person;


public class DataStorageMOCK implements IDataStorage
{
   List<Person> list;
   
   @Override
   public List<Person> load() throws IOException
   {
      return list;
   }

   @Override
   public void save(List<Person> list) throws IOException
   {
      Collections.copy(this.list, list);
   }
}
